package com.lh.tams.domain;


/**
 * TamsPerson entity. @author MyEclipse Persistence Tools
 */

public class TamsPerson implements java.io.Serializable {

	// Fields

	private long idBgt;
	private TamsDept tamsDept;
	private TamsRole tamsRole;
	private String personUsername;
	private String personPassword;
	private String personName;
	private String personSex;
	private String address;
	private String phone;
	private int status;
	private int type;
	private String photo;
	
	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	private String remark;

	// Constructors

	/** default constructor */
	public TamsPerson() {
	}

	/** minimal constructor */
	public TamsPerson(long idBgt) {
		this.idBgt = idBgt;
	}

	/** full constructor */
	public TamsPerson(long idBgt, TamsDept tamsDept, TamsRole tamsRole,
			String personUsername, String personPassword, String address,String photo,
			String phone, int status,int type, String remark, String personName,String personSex) {
		this.idBgt = idBgt;
		this.tamsDept = tamsDept;
		this.tamsRole = tamsRole;
		this.personUsername = personUsername;
		this.personPassword = personPassword;
		this.address = address;
		this.phone = phone;
		this.status = status;
		this.type = type;
		this.remark = remark;
		this.personName = personName;
		this.personSex = personSex;
		this.photo = photo;
	}

	// Property accessors

	public long getIdBgt() {
		return this.idBgt;
	}

	public void setIdBgt(long idBgt) {
		this.idBgt = idBgt;
	}

	public TamsDept getTamsDept() {
		return this.tamsDept;
	}

	public void setTamsDept(TamsDept tamsDept) {
		this.tamsDept = tamsDept;
	}

	public TamsRole getTamsRole() {
		return this.tamsRole;
	}

	public void setTamsRole(TamsRole tamsRole) {
		this.tamsRole = tamsRole;
	}

	public String getPersonUsername() {
		return this.personUsername;
	}

	public void setPersonUsername(String personUsername) {
		this.personUsername = personUsername;
	}

	public String getPersonPassword() {
		return this.personPassword;
	}

	public void setPersonPassword(String personPassword) {
		this.personPassword = personPassword;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public int getStatus() {
		return this.status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getPersonName() {
		return personName;
	}

	public void setPersonName(String personName) {
		this.personName = personName;
	}

	public String getPersonSex() {
		return personSex;
	}

	public void setPersonSex(String personSex) {
		this.personSex = personSex;
	}

}